package com.wushi.lenovo.asia5b.app_model.other;

import com.mvp.base.model.BaseModel;

/**
 * Created by lenovo on 2017/12/7.
 * 这个是友盟推送过来的数据
 */

public class UmengModel extends BaseModel {

    /**
     * display_type : notification
     * extra : {"msgid":0,"msgcount":25}
     * msg_id : uuoq4r8151382353102000
     * body : {"after_open":"go_app","play_lights":"true","ticker":"message title","play_vibrate":"true","text":"message content","title":"message title","play_sound":"true"}
     * random_min : 0
     */

    private String display_type;
    private PushBean extra;
    private String msg_id;
    private UmengBodyBean body;
    private int random_min;

    public String getDisplay_type() {
        return display_type;
    }


    public PushBean getExtra() {
        return extra;
    }


    public String getMsg_id() {
        return msg_id;
    }


    public UmengBodyBean getBody() {
        return body;
    }


    public int getRandom_min() {
        return random_min;
    }


    public static class UmengBodyBean extends BaseModel {
        /**
         * after_open : go_app
         * play_lights : true
         * ticker : message title
         * play_vibrate : true
         * text : message content
         * title : message title
         * play_sound : true
         */

        private String after_open;
        private String play_lights;
        private String ticker;
        private String play_vibrate;
        private String text;
        private String title;
        private String play_sound;

        public String getAfter_open() {
            return after_open;
        }


        public String getPlay_lights() {
            return play_lights;
        }


        public String getTicker() {
            return ticker;
        }


        public String getPlay_vibrate() {
            return play_vibrate;
        }


        public String getText() {
            return text;
        }


        public String getTitle() {
            return title;
        }


        public String getPlay_sound() {
            return play_sound;
        }

    }
}
